package com.itheima.task;

public class GiftDemo2 {
    public static void main(String[] args) {
        Gift gift = new Gift();

        Thread thread1 = new Thread(gift);
        Thread thread2 = new Thread(gift);
        thread1.start();
        thread2.start();

    }
}
